﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace ETL.Common
{
    public class SessionHelper
    {
        public void SetValue(string paramName, string paramValue)
        {
            HttpContext.Current.Session[paramName] = paramValue;
        }
        public string GetValue(string paramName)
        {
            if (HttpContext.Current.Session[paramName] != null)
            {
                return HttpContext.Current.Session[paramName].ToString();
            }
            else
            {
                return string.Empty;
            }
        }
    }
}
